n=input("input a string: ")
n2=n[::-1]
print("%s是回文" %n) if n==n2 else print("不是回文",n)
